package dado;
import java.sql.*;

public class ConnectionFactory {
	
	public Connection getConnection(){
		
		try {			
			return DriverManager.getConnection(
					"jdbc:mysql://localhost/biblioteca","root","");
		} catch (SQLException e) {
			throw new RuntimeException(e);
		}
		
		
	}

}
